package com.example.d10_homework.homework02;

/**
 * 惩罚类
 */
public class Punishment {
    private int leftCount; // 剩余次数
    private String copyWord; // 抄写内容

    public Punishment(int leftCount, String copyWord) {
        this.leftCount = leftCount;
        this.copyWord = copyWord;
    }

    public Punishment() {

    }

    public int getLeftCount() {
        return leftCount;
    }

    public void setLeftCount(int leftCount) {
        this.leftCount = leftCount;
    }

    public String getCopyWord() {
        return copyWord;
    }

    public void setCopyWord(String copyWord) {
        this.copyWord = copyWord;
    }
}
